//#############################################################################
//
//! \file   User_Component/myTimer/myTimer.c
//!
//! \brief   Timer
//!
//  Quthor:
//  Group:          C2000
//  Target Device:  TMS320F2802x
//
//  (C) Copyright 2015, Fuzhou University.
//#############################################################################
// $TI Release: f2802x Support Library v210 $
// $Release Date: Mon Sep 17 09:13:31 CDT 2012 $
//#############################################################################

// **************************************************************************
// the includes
#include "User_Component/myTimer/myTimer.h"


// **************************************************************************
// the defines


// **************************************************************************
// the globals


// **************************************************************************
// the functions
// (1) module Initial
//! \brief     MYTIMER module initial
//! \param[in] None
//! \param[out] None
void MYTIMER_initial(void)
{
    Rotate_rate = 0;
}
//
// (2) module Configure
// (2.1) module Pin configure
//! \brief     MYTIMER Pin configure
//! \param[in] None
//! \param[out] None
void MYTIMER_pinConfigure(void)
{

}
//
// (2.2) module function configure
//! \brief     MYTIMER function configure
//! \param[in] None
//! \param[out] None
void MYTIMER_functionConfigure(void)
{
	//void TIMER_stop(TIMER_Handle timerHandle)
	//void TIMER_setDecimationFactor(TIMER_Handle timerHandle, const uint16_t decFactor)
	//void TIMER_setPeriod(TIMER_Handle timerHandle, const uint32_t period)
	//void TIMER_reload(TIMER_Handle timerHandle)
	//void TIMER_start(TIMER_Handle timerHandle)
	TIMER_stop(myTimer0);
	TIMER_setDecimationFactor(myTimer0, 0);
	TIMER_setPeriod(myTimer0, 6000000L-1);
	TIMER_reload(myTimer0);
	TIMER_start(myTimer0);

}
//
// (2.3) module Event configure
//! \brief     MYTIMER Event configure
//! \param[in] None
//! \param[out] None
void MYTIMER_eventConfigure(void)
{

}
                      
// **************************************************************************
// the API functions



// end of file
